<template>
	<view class="content">
		<nav-header bgColor="bg-custom-color" :isBack="true">
			<block slot="content">{{$t('qrCode.title')}}</block>
		</nav-header>

		<!-- <view class="" style="" :style="'background-image:url('+qrCode+');background-color: #121e2e;'"></view> -->
		<view style="text-align: center;margin-top: 30%;"><image class="img-view" :src="$fetch.baseUrl+qrCode+userInfo.id+'.png'" mode="aspectFit"></image></view>
		<!-- <view><text class="bg-custom-color">{{userInfo.mobile}}</text></view> -->
	</view>
</template>

<script>
	var t
	export default {
		data() {
			return {
				qrCode: 'files/qrCode/',
				userInfo: null,
			}
		},
		onLoad() {
			t = this
			t.userInfo = $common.getUser()
			if (!t.userInfo) {
				$common.notLoginUser()
			}
			console.info(t.$fetch.baseUrl);
			console.info(t.userInfo)
		},
		methods: {
			btn() {}
		}
	}
</script>

<style>
	
</style>
